Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Feb 2019 12:45:00 +0000 (12:45 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 21 Aug 2019 12:48:11 +0000 (13:48 +0100)
commit602598e46aca6c2e686b771dc7fba4b526cab00e
tree83c6e0d5d50367a5e0ddd635a3ba6d2008aad066
parent0f8b74b8592f2350d4537fe83268b11bf70fd1ba
Lock down TIOCSSERIAL

Lock down TIOCSSERIAL as that can be used to change the ioport and irq
settings on a serial port.  This only appears to be an issue for the serial
drivers that use the core serial code.  All other drivers seem to either
ignore attempts to change port/irq or give an error.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jiri Slaby <jslaby@suse.com>

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0020-Lock-down-TIOCSSERIAL.patch
drivers/tty/serial/serial_core.c